import Vue from 'vue'
import Router from 'vue-router'
import login from '@/demo/login'
import register from '@/demo/register'
import activity from '@/demo/activity'
import bargainactivity from '@/demo/bargainactivity'
import orderinfo from '@/demo/orderinfo'
import bargainorder from '@/demo/bargainorder'
import find from '@/demo/find'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: login
    },
    {
      path: '/register',
      name: 'register',
      component: register
    },
    {
      path: '/activity',
      name: 'activity',
      component: activity
    },
    {
      path: '/orderinfo',
      name: 'orderinfo',
      component: orderinfo
    },
    {
      path: '/bargainactivity',
      name: 'bargainactivity',
      component: bargainactivity
    },
    {
      path: '/bargainorder',
      name: 'bargainorder',
      component: bargainorder
    },
    {
      path: '/find',
      name: 'find',
      component: find
    }
  ]
})
